<template>
    <div class="cms-menu applet">
        <el-menu
                :default-active="binggege_active"
                background-color="#2a3542"
                text-color="#fff"
                :router="true"
                :unique-opened="true"
                active-text-color="#1e83f0">
            <el-menu-item index="/binggege">
                <i class="fa fa-home"></i>
                <span slot="title">&nbsp;&nbsp;&nbsp;数据统计</span>
            </el-menu-item>
            <el-menu-item index="/binggege/video">
                <i class="fa fa-file-video-o"></i>
                <span slot="title">&nbsp;&nbsp;&nbsp;视频管理</span>
            </el-menu-item>
            <el-menu-item index="/binggege/wechat">
                <i class="fa fa-wechat"></i>
                <span slot="title">&nbsp;&nbsp;公号链接</span>
            </el-menu-item>
            <el-menu-item index="/binggege/config">
                <i class="fa fa-gavel"></i>
                <span slot="title">&nbsp;&nbsp;&nbsp;配置管理</span>
            </el-menu-item>
            <el-menu-item index="/binggege/message">
                <i class="fa fa-comments"></i>
                <span slot="title">&nbsp;&nbsp;&nbsp;模板消息</span>
            </el-menu-item>
            <el-menu-item index="/binggege/record">
                <i class="fa fa-align-left"></i>
                <span slot="title">&nbsp;&nbsp;&nbsp;推送记录</span>
            </el-menu-item>
        </el-menu>
    </div>

</template>

<script>
    import {mapGetters} from 'vuex';
    export default {
        computed: {
            ...mapGetters(['binggege_active']),
        }
    }
</script>
